package com.ftf.tp.blog.infrastructure.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ftf.tp.blog.infrastructure.mapper.pos.ArticleColumn;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 *
 * @author tanghao
 * @date 2022/8/8
 */
public interface ArticleColumnMapper extends BaseMapper<ArticleColumn> {
    int updateBatch(List<ArticleColumn> list);

    int batchInsert(@Param("list") List<ArticleColumn> list);

    void articleNumUpdate(List<Long> columnIdList, Integer nums);
}